package proxy;


public class ProxyPatternDemo {
	public static void main(String[] argStrings){
		Image image = new ProxyImage("test10mb.jpg");
		
		// image will be loaded from disk
		image.display();
		System.out.print("\n");
		
		// image will not be loaded from disk
		image.display();
		
	}
}
